VERSION 5.00
Begin VB.Form frmMsg 
   Appearance      =   0  'Flat
   BackColor       =   &H80000005&
   BorderStyle     =   0  'None
   Caption         =   "Form1"
   ClientHeight    =   1650
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   4890
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MDIChild        =   -1  'True
   MinButton       =   0   'False
   ScaleHeight     =   1650
   ScaleWidth      =   4890
   ShowInTaskbar   =   0   'False
   Begin VB.Label lblv 
      Height          =   375
      Left            =   3240
      TabIndex        =   7
      Top             =   1080
      Width           =   1335
   End
   Begin VB.Label Label2 
      Caption         =   "Current version:"
      Height          =   375
      Left            =   1680
      TabIndex        =   6
      Top             =   1080
      Width           =   1455
   End
   Begin VB.Label Label6 
      Caption         =   "merchants"
      Height          =   375
      Left            =   3240
      TabIndex        =   5
      Top             =   600
      Width           =   1335
   End
   Begin VB.Label lblBusiness 
      Caption         =   "0"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   375
      Left            =   1200
      TabIndex        =   4
      Top             =   600
      Width           =   1935
   End
   Begin VB.Label Label4 
      Caption         =   "We have"
      Height          =   375
      Left            =   120
      TabIndex        =   3
      Top             =   600
      Width           =   975
   End
   Begin VB.Label Label3 
      Caption         =   "registered users"
      Height          =   375
      Left            =   3240
      TabIndex        =   2
      Top             =   120
      Width           =   1335
   End
   Begin VB.Label lblUsers 
      Caption         =   "0"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   375
      Left            =   1200
      TabIndex        =   1
      Top             =   120
      Width           =   1935
   End
   Begin VB.Label Label1 
      Caption         =   "We have"
      Height          =   375
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   975
   End
End
Attribute VB_Name = "frmMsg"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
    Dim cn As New ADODB.Connection
    Dim rs As New ADODB.Recordset
    Dim sql As String
    
    Call Cn2Oversea(cn)
    sql = "SELECT COUNT(temp_userid) FROM org_firststep"
    Call CloseRecordSet(rs)
    OperateDatabase rs, cn, sql
    lblBusiness.Caption = rs.Fields(0).value
    
    sql = "SELECT COUNT(temp_userid) FROM usr_firststep"
    Call CloseRecordSet(rs)
    OperateDatabase rs, cn, sql
    lblUsers.Caption = rs.Fields(0).value
    
    lblv.Caption = val(App.Major & App.Minor & App.Revision)
    cn.Close
End Sub


Private Sub CloseRecordSet(ByRef rs As ADODB.Recordset)
On Error GoTo NoErr
        rs.Close
NoErr:
End Sub

